﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TinyERP.Framework.Plugin;
using Spring.Objects.Factory.Support;
using Spring.Objects.Factory.Xml;
using TinyERP.Framework;
using TinyERP.Core.DAO;
using TinyERP.Core.Business;

namespace TinyERP.Core
{
    public class PluginContextImp : PluginContext
    {
        public override void RegisterModuleObjects()
        {
            RegisterDALObject(typeof(UserDAO));
            RegisterServiceObject(typeof(UserService), new string[] { typeof(UserDAO).Name });

            RegisterDALObject(typeof(UserGroupDAO));
            RegisterServiceObject(typeof(UserGroupService), new string[] { typeof(UserGroupDAO).Name });

        }
    }
}
